package at.ac.univie.zsu.aguataplan.util;

import java.io.FileNotFoundException;

import org.springframework.util.Log4jConfigurer;

/**
 * @author gerry
 * 
 */
public class InitLogger implements Constants {

	public static void initLogger() {
		try {
			Log4jConfigurer.initLogging(Log4jConfigurer.CLASSPATH_URL_PREFIX + LOGGINGPATH);
		} catch (FileNotFoundException e) {
			System.err.println("Could not find logger configuration... exit");
			System.exit(1);
		}

	}
}
